<template>
  <div style="padding: 20px">
    <h3>基本信息</h3>
    <Row style="margin: 25px 0;">
      <Col span="10" style="text-align: right">
        运输任务编号： <Input v-model="transport.id"  placeholder="请输入运输任务编号" disabled style="width: 320px" />
      </Col>
      <Col span="10" style="text-align: right">
        车牌号码： <Input v-model="transport.licensePlate" placeholder="请输入车牌号码" disabled style="width: 320px" />
      </Col>
    </Row>
    <Row style="margin: 25px 0;">
      <Col span="10" style="text-align: right">
        调度机构： <Input v-model="transport.cname"  placeholder="请输入调度机构" disabled style="width: 320px" />
      </Col>
      <Col span="10" style="text-align: right">
        起始地： <Input v-model="transport.startAgencyName" placeholder="请输入起始地" disabled style="width: 320px" />
      </Col>
    </Row>
    <Row style="margin: 25px 0;">
      <Col span="10" style="text-align: right">
        目的地： <Input v-model="transport.endAgencyName" placeholder="请输入目的地" disabled style="width: 320px" />
      </Col>
    </Row>
    <hr>
  </div>
</template>

<script>
import axios from 'axios'
export default {
  data(){
    return{
      transport:{},
      id : this.$route.query.id
    }
  },
  created(){
      this.queryTaskTransportBasicInfo();
  },
  methods:{
    queryTaskTransportBasicInfo: async function(){
       var rsp = await axios.post("/api/pd-workyc/pd-task-transport/queryTaskTransportBasicInfoById/"+this.id);
      // console.log(rsp.data)
       this.transport = rsp.data;
    }
  }
}
</script>

<style scoped>

</style>
